
package com.craterhill.java.ems.dao.impl;

import java.util.List;

import javax.sql.DataSource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.craterhill.java.ems.common.beans.SchoolLevel;
import com.craterhill.java.ems.dao.SchoolLevelDao;

@Repository
public class SchoolLevelDaoImpl extends AbstractDao<SchoolLevel> implements SchoolLevelDao {

	@Autowired
	public SchoolLevelDaoImpl(final DataSource dataSource) {
		super(dataSource);
	}

	@Override
	public List<SchoolLevel> findAll() {
		return super.findMultipleObject(FIND_ALL, new SchoolLevelExtractor());
	}

	@Override
	public SchoolLevel find(int recordId) {
		return null;
	}

	@Override
	public boolean remove(Integer... ids) {
		return false;
	}

	@Override
	public int save(SchoolLevel t) {
		return 0;
	}

	@Override
	public boolean update(SchoolLevel t) {
		return false;
	}
}
